package com.allen.app.common.config.swagger.common;



import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author liuyo on 17.8.13.
 */
@Data
@ConfigurationProperties(prefix = SwaggerProperties.PREFIX)
public class SwaggerProperties {

    public static final String PREFIX = "microx.swagger";

    private String title;
    private String description;
    private String termsOfServiceUrl;
    private Contact contact = new Contact();
    private String license;
    private String licenseUrl;
    private String version;
    /**
     * 分页参数类型 query or header
     */
//    private String pagerParamType;
    /**
     * header 参数
     */
    private String headerParams;

//    private boolean enableSessionId = false;

    @Data
    public static class Contact {
        private String name;
        private String url;
        private String email;
    }
}
